<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" display="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" display="IE=edge,chrome=1">
    <meta name="viewport" display="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" display="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../../lib/DD_belatedPNG_0.0.8a-min.js?rev=@@hash"></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <title>账号管理</title>
</head>
<body>
<article class="page-container">
    <form class="form form-horizontal" id="form-member" novalidate style="" enctype="multipart/form-data">
        <div style="margin-left: 10%;width:660px;">
            <table class="table_li mb-10 mt-10 ml-10">
                <tr>

                    <td style="width: 350px">
                        <div class="row clearfix">
                            <label class="form-label w-70 f-l" for="title" style="padding:0">*标题：</label>
                            <div class="formControls w-700 f-l">
                                <!-- <input type="text" style="width: 250px;" class="input-text radius"  value=""   required  onkeyup="checkMaxIut(this,0)" ><span  id="changeNum" style="float: right;margin-right: -48px;margin-top: -15px;"><br/>(0)/40字符</span>-->
                                <input oninput="checkMaxIut(this)" value="" class="input-text radius" id="title"  style="width: 200px" name="title" placeholder="请输入标题（标题限制为40个字符）" autocomplete="off">
                            </div>

                        </div>

                    </td>
                    <td style="width: 350px">
                        <div class="row clearfix">
                            <div class="formControls w-700 f-l">
                                <span id="textSpan">0</span>/<span id="commonText"></span>字符
                            </div>
                        </div>

                    </td>
                </tr>
                <tr>
                    <td style="width: 350px">
                        <div class="row clearfix">
                            <label class="form-label w-70 f-l" style="padding:0">*平台选择：</label>
                            <div class="formControls w-250 clearfix f-l">
                            <span class="select-box radius bg-fff f-l" style="padding:0">
                                <select class="select radius valid" name="brandclass" id="pingtai" size="1" onchange="categoryss(1)">
                                    <option value="20" selected>普通平台</option>
                                    <option value="10">签约平台</option>
                                </select>
                            </span>
                            </div>
                        </div>
                    </td>

                    <td style="width: 350px">
                        <div class="row clearfix">
                            <label class="form-label w-70 f-l" style="padding:0">*地域筛选：</label>
                            <div class="formControls w-250 clearfix f-l">
                            <span class="select-box radius bg-fff f-l" style="padding:0">
                                <select class="select" name="brandclass" id="pinjgthai" size="1"  onchange="categoryss(2)">
                            </select>
                            </span>
                            </div>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td style="width: 350px">
                        <div class="row clearfix">
                            <label class="form-label w-70 f-l" style="padding:0">*品类：</label>
                            <div class="formControls w-250 clearfix f-l">

                                <select class="select "  size="1" style="height: 30px;width:180px;" name="brandclass" id="geta">
                                <option value="" selected></option>
                                </select>

                            </div>
                        </div>
                    </td>
                    <td style="width: 350px">

                        <div class="row clearfix">
                            <label class="form-label w-70 f-l" style="padding:0">*发布时间：</label>
                            <div class="formControls w-250 f-l" >
                                <span class="wstxt"></span>
                                <input type="text" class="input-text Wdate radius" style="width:130px" id="logmin" readonly placeholder="请选择时间"><span class="pd-5"></span><input type="text" class="input-text Wdate radius" style="width:130px;display: none" id="logmax" readonly placeholder="请选择时间" >
                            </div>
                        </div>

                    </td>

                </tr>


            </table>
            <table class="table table-border table-bg table-hover table-sort mt-10" id="datatable" style="width:97%">
                <thead>
                <tr class="text-c">
                    <th width="20">序号</th>
                    <th width="50">排序</th>
                    <th width="50">品牌名称（或id）</th>
                    <th width="70">图片（95*30）</th>
                    <th width="50">操作</th>
                </tr>

                <tbody class="shun" id="shunlist">

                </tbody>
            </table>
            <div class="mt-40"></div>
            <div class="row cl">
                <div class="text-c">
                    <a class="btn btn-primary radius" onclick="categoryadd()">保存</a><button onclick="cancelBtn();" class="btn radius ml-10" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button><!--onclick="removeIframe();"-->
                </div>
            </div>
        </div>

    </form>
</article>
<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="../../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script> <!--/_footer 作为公共模版分离出去-->
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="../../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
<!--表单验证-->
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
<script type="text/javascript" src="../../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
<script src="../../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
<script src="../../../../ht-js/public.js?rev=@@hash"></script>
<!--验证token-->
<script src="../../../../ht-js/verifyToken.js?rev=@@hash"></script>
<script src="../../../../ht-js/Project.js?rev=@@hash"></script>
<script src="../../../../ht-js/operation-js/operation_resource/categorylogo-js/categorylogo_edit.js?rev=@@hash"></script>
<link type="text/css" rel="stylesheet" href="../../../../ht-js/operation-js/time-js/jedate.css">
<script type="text/javascript" src="../../../../ht-js/operation-js/time-js/jquery.jedate.js?rev=@@hash"></script>
<script src="../../../../ht-js/dynamicWarehouse.js?rev=@@hash"></script>


<script>

    //取消
    function cancelBtn() {
        parent.layer.closeAll();
    }


    //时间
    var  d = new Date();
    var YMDHMS = d.getFullYear() + "-" +(d.getMonth()+1) + "-" + d.getDate() + " " +
        d.getHours() + ":" + d.getMinutes() + ":" + d.getSeconds();
    var start = {
        format: 'YYYY-MM-DD hh:mm:ss',
        minDate: YMDHMS,
        // maxDate: "2018-12-30 12:12"

    };

    $('#logmin').jeDate(start);
    // $('#logmax').jeDate(end);
    /*角色编辑*/
    function roles_edit(title,url,id,w,h){
        layer_show(title,url,w,h);
    }
    $.validator.addMethod("titleCheck", function(value, element) {
        var tel = /^.{1,40}$/;
        return this.optional(element) || (tel.test(value));
    }, "输入有误");
    $.validator.addMethod("colorCheck", function(value, element) {
        var tel = /^#([0-9a-fA-F]{6}|[0-9a-fA-F]{3})$/;
        return this.optional(element) || (tel.test(value));
    }, "请按色值格式输入");
</script>
<style>
    .error{
        color:#ff1b1b;
    }
    label.error {
        width: 75px;
        position: absolute;
        left: 325px;
        top: 1px;
        color: #ef392b;
        font-size: 12px;
    }
    label#logmin-error{
        left:265px;
    }
</style>
</body>
</html>